<div class="modal-body wrapper-lg">
    <div class="row">
        <div>
            <h1 class="m-n font-thin h3" ng-if="status == 'active'">激活流程</h1>
            <h1 class="m-n font-thin h3" ng-if="status == 'suspend'">挂起流程</h1>
            <p></p>
            <div class="col-sm-12" >
                <ng-form role="form" name="form" class="form-validation">
                    <div>
                        <form id="changeStateForm" class="form-horizontal" method="post">
                            <div class="form-group">
                                <label class="i-checks m-b-xs">
                                    <input type="checkbox" ng-model="inputTimeEnable"  >
                                    <i></i>
                                    定时执行
                                </label>
                            </div>
                            <div class="form-group" ng-if="inputTimeEnable">
                                <div class="input-group col-sm-5"  d-datepicker ng-model="entity.effectiveDate" d-datepicker-option="data.option">
                                    <input type='text' class="form-control m-b-xs" ng-model="effectiveDate" />
	                            <span class="input-group-addon">
			                        <span class="glyphicon glyphicon-calendar"></span>
			                    </span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="i-checks  m-b-xs">
                                    <input type="checkbox" ng-model="entity.cascade"  >
                                    <i></i>
                                    同时{{status == 'active' ? '激活' : '挂起'}}所有与流程定义相关的流程实例？
                                </label>
                            </div>
                            <div class="form-group">
                                <div class="controls">
                                    <button class="btn" ng-click="cancel()" aria-hidden="true">返回</button>
                                    <button type="submit" ng-click="ok()" class="btn btn-primary">确定{{status == 'active' ? '激活' : '挂起'}}<span class="state"></span></button>
                                </div>
                            </div>
                        </form>
                    </div>
                </ng-form>
            </div>
        </div>
    </div>
</div>
